package com.zkw.gro.cloure.demo

/**
 * Created by Administrator on 2016/4/9 0009.
 */
class IsCaseMain {
    def isCaseTest(){
        switch (10){
            case {it%2 == 1} : println false
                default: println true
        }
    }

    public static void main(String[] args) {
        IsCaseMain isCaseMain = new IsCaseMain()
        isCaseMain.isCaseTest()
        println(10 % 3)
        println(10 / 3)
    }
}
